package com.alex.demo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author Alex
 * @since 2022-03-26
 */
@Getter
@Setter
@TableName("lieche")
@ApiModel(value="主体信息", description="乘客")
public class LieChe implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "IDNUM",type = IdType.AUTO)
    @ApiModelProperty("序号")
    private Integer idnum;
    /**
     * 姓名
     */
    @TableField("name")
    @ApiModelProperty("姓名")
    private String name;

    /**
     * 证件类型
     */
    @TableField("card_type")
    @ApiModelProperty("证件类型")
    private String cardType;

    /**
     * 证件编号
     */
    @TableField("id_card")
    @ApiModelProperty(value="证件编号" ,required=true,example = "320683198110096010")
    private String idCard;

    /**
     * 乘车日期
     */
    @TableField("take_data")
    @ApiModelProperty("乘车日期")
    private String takeData;

    /**
     * 乘车时间
     */
    @TableField("take_time")
    @ApiModelProperty("乘车时间")
    private String takeTime;

    /**
     * 票号
     */
    @TableField("ticket_num")
    @ApiModelProperty("票号")
    private String ticketNum;

    /**
     * 车次
     */
    @TableField("train_number")
    @ApiModelProperty("车次")
    private String trainNumber;

    /**
     * 发站
     */
    @TableField("depart")
    @ApiModelProperty("发站")
    private String depart;

    /**
     * 到站
     */
    @TableField("arrived")
    @ApiModelProperty("到站")
    private String arrived;

    /**
     * 车厢号
     */
    @TableField("carriage")
    @ApiModelProperty("车厢号")
    private String carriage;

    /**
     * 席别
     */
    @TableField("seat_type")
    @ApiModelProperty("席别")
    private String seatType;

    /**
     * 座位号
     */
    @TableField("seat_num")
    @ApiModelProperty("座位号")
    private String seatNum;

    /**
     * 票种
     */
    @TableField("ticket_type")
    @ApiModelProperty("票种")
    private String ticketType;

    /**
     * 票价
     */
    @TableField("ticket_price")
    @ApiModelProperty("票价")
    private String ticketPrice;

    /**
     * 售票处
     */
    @TableField("ticket_office")
    @ApiModelProperty("售票处")
    private String ticketOffice;

    /**
     * 窗口
     */
    @TableField("win_num")
    @ApiModelProperty("窗口")
    private String winNum;

    /**
     * 操作员
     */
    @TableField("operator")
    @ApiModelProperty("操作员")
    private String operator;

    /**
     * 售票时间
     */
    @TableField("ticket_time")
    @ApiModelProperty("售票时间")
    private String ticketTime;


}
